<template>
	<div>
		<mj-title type="h2" title="更新日志"></mj-title>

		<mj-timeline>
		    <mj-timeline-item title="v 1.2.0">
		    	<div class="list-time">[ 2023-04-17 ]</div>
		    	<mj-tag>Bug修复</mj-tag>
		    	<ul>
		    		<li>upload 修复before-upload钩子回调问题，可不写此方法。</li>
		    		<li>优化 form表单中的label与radio、checkbox组件文字水平对齐问题。</li>
		    		<li>优化DatePicker组件范围类型，靠近窗口边框会换行问题。同时宽度超过最左侧时，自动适应位置。</li>
		    		<li>优化Card组件，header圆角样式。</li>
		    	</ul>
			</mj-timeline-item>

		    <mj-timeline-item title="v1.1.37">
		    	<div class="list-time">[ 2023-03-10 ]</div>
		    	<mj-tag>新增</mj-tag>
		    	<ul>
		    		<li>RadioGroup 新增 disabled 参数,设置整个group禁用</li>
		    	</ul>
		    	<mj-tag>Bug修复</mj-tag>
		    	<ul>
		    		<li>RadioGroup 修复 type等于border | button 时禁用状态下，样式错乱问题</li>
		    		<li>select 修复 输入内容无法自动弹出下拉层 问题</li>
		    	</ul>
		    </mj-timeline-item>

		    <mj-timeline-item title="v1.1.36">
		    	<div class="list-time">[ 2023-02-01 ]</div>
		    	<mj-tag>新增</mj-tag>
		    	<ul>
		    		<li>DialogAlert 新增 confirmButtonLoading 确定按钮加载</li>
		    	</ul>
				<pre>
					<code class="language-js line-numbers">
				  beforeClose: (type, instance, done) =>{
						if (type === 'confirm') {
							instance.confirmButtonLoading = true;
							instance.confirm = '执行中...';
							setTimeout(() => {
								done();
								setTimeout(() => {
									instance.confirmButtonLoading = false;
								}, 300);
							}, 3000);
						}else{
				      done();
				    }
					},
				</code>
				</pre>
				<mj-tag>Bug修复</mj-tag>
				<ul>
					<li>select 修复选中值无法赋值问题</li>
				</ul>
		    </mj-timeline-item>

		    <mj-timeline-item title="v1.1.35">
		    	<div class="list-time">[ 2023-01-13 ]</div>
		    	<mj-tag>新增</mj-tag>
		    	<ul>
					<li>Dialog 新增closeOnPressEscape 是否可以ESC关闭属性</li>
					<li>mixins[js文件]  添加style.transformOrigin属性代码</li>
					<li>popup[js文件]   添加style.transformOrigin属性代码</li>
					<li>Cascader 级联选择器组件</li>
		    	</ul>
		    	<mj-tag>新增</mj-tag>
					<li>select 修复下拉数据展示层在下方空间不够上方展开时动画失效问题</li>
					<li>datepicker 修复时间展示层在下方空间不够上方展开时动画失效问题</li>
					<li>message 修复z-index层级问题</li>
		    </mj-timeline-item>

		    <mj-timeline-item title="v1.1.34">
		    	<div class="list-time">[ 2022-12-09 ]</div>
		    	<mj-tag>新增</mj-tag>
		    	<ul>
		    		<li>Dialog close-on-press-escape 是否可以通过按下 ESC 关闭 Dialog。</li>
		    	</ul>
		    	<mj-tag>Bug修复</mj-tag>
		    	<ul>
		    		<li>Tree修复 当层级超过2级时,Tree组件的联动失效 问题</li>
		    	</ul>
		    </mj-timeline-item>

		    <mj-timeline-item title="v1.1.33">
		    	<div class="list-time">[ 2022-12-08 ]</div>
		    	<mj-tag>新增</mj-tag>
		    	<ul>
		    		<li>Descriptions 新增 Descriptions 描述列表。列表形式展示多个字段。</li>
		    	</ul>
		    	<mj-tag>Bug修复</mj-tag>
		    	<ul>
		    		<li>Pagination 修复 size为small下样式问题 问题</li>
		    	</ul>
		    </mj-timeline-item>

		    <mj-timeline-item title="v1.1.32">
		    	<div class="list-time">[ 2022-11-24 ]</div>
		    	<mj-tag>新增</mj-tag>
		    	<ul>
					<li>集成 vxe-table插件,解决复杂的表格 问题</li>
					<li>文档地址: <a href="https://vxetable.cn/v3/#/table/base/basic" target="_blank">https://vxetable.cn/v3/#/table/base/basic</a>  版本: v3 + (vue2.6+稳定版)</li>
					<li>Upload success 成功回调添加文件集合files参数</li>
		    	</ul>
		    	<mj-tag>Bug修复</mj-tag>
		    	<ul>
					<li>Progress 修复 v-model绑定值不生效 问题</li>
					<li>Table 修复 右侧存在fixed,Table固定高度且竖向滚动条不存在,仍然存在fixed偏移量 问题</li>
					<li>Upload 修复 在不删除文件的情况下重复上传文件之后无法上传 问题</li>
					<li>Upload 修复 before-upload上传之前回调多次触发 问题</li>
					<li>Pagination 修复 每页条数返回值为string类型 问题</li>
		    	</ul>
		    </mj-timeline-item>
		</mj-timeline>
	</div>

</template>

<style type="text/css" scoped>
	.mj-timeline-item-content ul {margin-bottom: 20px;}
	.mj-timeline-item-content ul li {padding-left:10px;display: list-item;margin-left:10px;}
	.mj-timeline-item-content ul li::marker {
		color:#999;
		content:'●';
		font-size: 10px;
	}
	.list-time {margin-bottom:10px;}

</style>